package com.ssy.lingxi.logistics.service;

import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.logistics.api.dto.request.LogisticsMemberIdAndRoleIdReq;
import com.ssy.lingxi.logistics.api.dto.request.LogisticsSelectCompanyListFeignReq;
import com.ssy.lingxi.logistics.api.dto.response.CommonSelectResponse;
import com.ssy.lingxi.logistics.api.dto.response.FreightTemplateFeignRes;
import com.ssy.lingxi.logistics.api.dto.response.ShipperAddressSelectFeignRes;

import java.util.List;

public interface ILogisticsSelectFeignService {
    /**
     * 能力中心 - 运费模板下拉框
     * @return 返回结果
     */
    Wrapper<List<FreightTemplateFeignRes>> listFreightTemplate(LogisticsMemberIdAndRoleIdReq req);

    /**
     * 发货地址查询全部(按照是否默认排序)
     * @return 返回结果
     */
    Wrapper<List<ShipperAddressSelectFeignRes>> listShipperAddress(LogisticsMemberIdAndRoleIdReq req);

    /**
     * 物流公司查询全部(不同合作类型)
     * @param req 接口参数
     * @return 返回结果
     */
    Wrapper<List<CommonSelectResponse>> listCompany(LogisticsSelectCompanyListFeignReq req);
}
